Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1117

Not Authorized Error in cbl-template-app-maui-todo Example

$
0
0

Hi, I’m brand new “refugee” from MongoDb Realm fiasco, looking to migrate to Couchbase Lite for offline first, “end-user centric” app on mobile and desktop via .net maui. I’m using the Realms migration example app (GitHub - couchbaselabs/cbl-template-app-maui-todo: Conversion Example of .NET Maui app from MongoDb Atlas Device SDK to Couchbase Mobile) to get started. I’ve got my Capella app and service all configured following the mds in the app solution, and have green lights and happiness on the web Capella side of things. The cbl-template-app-maui-todo solution is also up and running and pointing to the correct endpont for the capella app (is that right terminology?) but I get a “Not Authorized” error when I try and login in to the db (line 33 of the AuthenticationService.cs file in RealmTodo/Services). I followed all the configuration steps and and have checked the example user credentials twice, so I think I’m missing a step to add either of the “demo users” to so they can be authorized to the app? It’s very similiar to mongodb setup but different enough I’d appreciate any help. Thanks - and please forgive me if this isn’t the right forum channel and be kind enough to redirect.

6 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 1117

Trending Articles