How to find AUC metric value for keras model?
There is now a built-in function to compute (an approximation of) the AUC. See tf.keras.metrics.AUC. Apparently, you just need to do the following

...
model = tf.keras.Model(inputs, outputs)
model.compile('sgd', loss='mse', metrics=[tf.keras.metrics.AUC()])