dwavesystems / dwave-cloud-client

A minimal implementation of the REST interface used to communicate with D-Wave Solver API (SAPI) servers.
https://docs.ocean.dwavesys.com/projects/cloud-client/en/stable/
Apache License 2.0
59 stars 40 forks source link

Use OIDC well-known configuration #672

Open randomir opened 1 month ago

randomir commented 1 month ago

With OIDC .well-known now available on Leap, we should simplify/generalize some auth URL resolvers:

https://github.com/dwavesystems/dwave-cloud-client/blob/d9c0dbfa4e104e6ca9b1fb0b46af2d7b46c85b9f/dwave/cloud/auth/flows.py#L309-L329

Note: consider caching the configuration and/or individual auth URLs.