Closed HoodChuang closed 2 years ago
@HoodChuang Thanks for the post!
Someone from our team will review and followup on this soon.
cc: @monde
I will look into this @HoodChuang , thank you for highlighting the code exactly where the problem lies.
Thanks @HoodChuang released as v1.3.1
Thank you very much @monde
The following method. When the URL is something wrong, and the server return 404, the err is
nil
, this cause the next step where we get the urls from the metadata not found.Though okta server hands the case like this well.
Other service that follow the openid protocol may not. For example: Keycloak is not
Can we check the response status code, and err out earlier? Thanks.
The fetchMetaData for reference.