-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authenticating to Azure SQL with access token fails #423
Comments
We have also ran into this issue. We tried to downgrade back to 1.2.1 and were still unable to work through this issue. @eruponen did you have any luck getting an access token working? |
Haven't tried to debug this issue since posting this. So, no I haven't yet found a solution for this. But good to know that this at least is reproducible issue. |
@eruponen, @tdawgy - I encountered this issue as well. The root cause is that DriverConnectionProvider in nhibernate-core does not open the connection to the RH repository tables (ScriptsRun, ScriptsRunErrors, Version) with the access token. nhibernate-core does not seem to have any concept of SQL access tokens. I believe a fix or workaround would be to use a custom provider and pass it the token. |
I don't really have much else to add, we encountered the issue while we were doing some spikes to choose the best platform for managing database migrations. Obviously, being unable to get a working spike influenced our decision to go with DbUp instead. |
Bump - anyone who found a workaround for this ? |
Access tokens work in grate. It's an easy switch. |
|
Using the newly added support for the use of Access Token (added in #395) leads to the following exception:
The access tokens I used should have been valid as I can use them when creating a connection with another piece of code.
For instance @Peckham, do you have an insight on this matter?
The text was updated successfully, but these errors were encountered: