Connect OSM account
All checks were successful
CI / Lint (pull_request) Successful in 30s
CI / Test (pull_request) Successful in 49s
Release Drafter / Update release notes draft (pull_request) Successful in 4s

This commit is contained in:
2026-04-01 18:35:01 +04:00
parent 2dfd411837
commit e7dfed204e
12 changed files with 482 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
import Route from '@ember/routing/route';
import { service } from '@ember/service';
export default class OauthOsmCallbackRoute extends Route {
@service osmAuth;
@service router;
async model() {
try {
await this.osmAuth.handleCallback();
} catch (e) {
console.error('Failed to handle OSM OAuth callback', e);
} finally {
this.router.transitionTo('index');
}
}
}