Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    continuing to see hanging/timeouts in very straightforward oauth/login flows at the POST to /.auth/login/aad/callback. not interested in posting to stack overflow, but forum post updated: https://social.msdn.microsoft.com/Forums/azure/en-US/54ed3ad6-e218-439f-ba33-91411f5b21de/how-can-i-troubleshoot-easyauth-errors?forum=azuremobile
    just don't see any way for me to be able to troubleshoot this. flying completly blind, my guess is that something is going wrong with cookies
    either "Nonce" cookies, or "CompletionType" cookies that are meant to indicate that the login flow is happening in an iframe?
    here and there, i've been able to get a glimpse at errors at what appears to be something like this line: https://github.com/Azure/azure-mobile-services-node/blob/master/runtime/request/html/templates/loginviaiframe.html#L31
    var frame = window.opener.frames[receiverFrameName]
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    the error will be something indicating that window.opener is undefined
    (which makes sense, because i'm not using the js client for login, so i'm not using popups)
    Ariel
    @Draidel
    Anyone can help me with some basic configuration of azure please? :)
    hussam-alsh
    @hussam-alsh
    hi
    Swapnil Tripathi
    @Anshdesire
    @danderson00 - not able to get build on azureappnode
    
    \\?\D:\home\site\wwwroot\node_modules\bcrypt\build\Release\bcrypt_lib.node
        at Error (native)
        at Object.Module._extensions..node (module.js:460:18)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:311:12)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at bindings (D:\home\site\wwwroot\node_modules\bindings\bindings.js:76:44)
        at Object.<anonymous> (D:\home\site\wwwroot\node_modules\bcrypt\bcrypt.js:3:35)
        at Module._compile (module.js:435:26)
        at Object.Module._extensions..js (module.js:442:10)
    Application has thrown an uncaught exception and is terminated:
    Error: %1 is not a valid Win32 application.
    
    \\?\D:\home\site\wwwroot\node_modules\bcrypt\build\Release\bcrypt_lib.node
        at Error (native)
        at Object.Module._extensions..node (module.js:460:18)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:311:12)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at bindings (D:\home\site\wwwroot\node_modules\bindings\bindings.js:76:44)
        at Object.<anonymous> (D:\home\site\wwwroot\node_modules\bcrypt\bcrypt.js:3:35)
        at Module._compile (module.js:435:26)
        at Object.Module._extensions..js (module.js:442:10)
    Swapnil Tripathi
    @Anshdesire
    @danderson00 - it works on my local but fails on azure
    atorefrank
    @atorefrank
    @atorefrank
    Getting the following error when I attempt to tunnel into my azure container cluster through port 2200. I have my SSH2 public key used to provision the swarm container.connect to host XXXXXXXXXXXXX port 2200: Operation timed out.
    Here is the command ssh username@XXXXXXX.westus.cloudapp.azure.com -p 2200 -L 22375:127.0.0.1:2375
    L Suarez
    @lsuarez5280
    Hey guys. I realize the channel's focused on the node implementation for Azure mobile apps services, and my service implementation is in .NET, but I was wondering more generally if it's possible to secure my service using an OAuth access token issued by my corporate OIDC SSO system?
    John Tobin
    @jtobinisaniceguy
    Does anyone have example source code for uploading a file using azure mobile client and azure-mobile-app in node.js? For mobile client, how is this kept in sync with offline sync feature?
    Rizky Ario
    @rizkyario
    Would it be possible to set 'authorizations config' of SwaggerUi?
    Navneet Garg
    @navneetccna
    can we create admin dashboard using azure-mobile-apps-node ?
    Dale Anderson
    @danderson00
    Sorry about the delay in responding, people. Gitter has not sent me a notification of unread messages in about a month!
    Dale Anderson
    @danderson00
    @qanuj You can use the REST API or directly modify the contents of the database. Unfortunately, there is no in built support for relationships. It's been on the cards for quite a while, but is unlikely to be implemented - it's a complex area. I would suggest that you enforce your relationships in your client app and update individual records. Alternatively, as @SteveALee mentions, you can serialize complex objects into a single string column.
    @ephemorality The authentication implementation is not part of Mobile Apps, it's now built in to Azure Web Apps. I don't have enough detailed knowledge of the area to know what's going wrong. I know you're not a fan of posting on stackoverflow, but this is your best option - the team actually has competitions to see who can answer the most questions, so you're pretty much guaranteed a quick response :)
    Dale Anderson
    @danderson00
    @Anshdesire This is almost certainly because bcrypt is a native module. Are you deploying your node_modules folder when you deploy? If that's the case, you need to ensure that the major version of node you are using (0.10.x, 0.12.x, 4.x, etc) matches the one used on your site, and must also be 32 bit. Alternatively, if you don't deploy the node_modules folder, it should be installed for you when you push.
    @atorefrank This channel is for support of Azure Mobile Apps. We don't have anything to do with Azure Containers. I suggest posting on stackoverflow with the appropriate tags.
    Dale Anderson
    @danderson00
    @lthib It's possible to use a custom identity provider in Mobile Apps. You essentially need to mint your own tokens using the jsonwebtoken library using the signing key that the web app generates. There is an example in the samples folder of the github repo. The sample just covers a simple username / password scenario but should give you good guidance for using your provider.
    @rizkyario I see you opened an issue for this. We'll certainly look at implementing this, but resources are a bit stretched at the moment and it may take some time. In the mean time, you could manually insert the authorization properties into the swagger JSON. If you created a similar endpoint in express to the swagger middleware, you could insert the auth properties.
    Dale Anderson
    @danderson00
    @navneetccna Sure, was there a specific area you needed help with?
    Hope I didn't miss anyone! Thanks for your patience.
    scottpazelt
    @scottpazelt
    hi everyone. does anyone know if it's possible to authenticate to azure without using a service principal? we'd like to use our corporate federated IDs.
    Dale Anderson
    @danderson00
    @scottpazelt This gitter channel is about Azure Mobile Apps, not sure we'll be able to help. I suggest you post a question on stackoverflow. When you say "authenticate to azure", which service do you mean? Are you trying to authenticate against ARM? You should be able to authenticate against most Azure services using any AAD account that has been granted permissions to the service.
    You can set permissions to most Azure services through portal.azure.com by navigating to the service and selecting "Access Control (IAM)"
    scottpazelt
    @scottpazelt
    Hi @danderson00 thanks for the response. I'm referring to authenticating to Azure with Terraform. All the documentation suggests a service principal which isn't a great option. I'd like to know if anyone is authenticating Terraform with some type of AD federated account. Thanks a lot.
    Dale Anderson
    @danderson00
    Which Azure service are you trying to authenticate against (e.g. Azure Web Apps, SQL Azure, ARM, DocumentDB, etc)? Again, it's unlikely I'll be able to help, a stackoverflow post would probably be your best bet.
    L Suarez
    @lsuarez5280
    Hello all. Got a bit of a question about working with DateTime data types. I know in an ideal world I'd just convert to DateTimeOffset, but I'm working with some legacy data that I can't really touch. I was hoping I could modify the MobileServiceClient.SerializerSettings.DateTimeZoneHandling to prevent the serializer from assuming it needed to send my DateTime from local to UTC, but that setting doesn't seem to be honored by the client.
    What are my options for preventing JSON.NET from making this serialization change?
    Navneet Garg
    @navneetccna
    @danderson00 i created it by my self right now i am looking to use AD auth in node js for getting data from applicationinsights as given in doc https://dev.applicationinsights.io/documentation/Authorization/Rate-limits "Limits when using Azure Active Directory authentication" and https://dev.applicationinsights.io/documentation/Overview/URL-formats "Azure API format".
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    tables are created with a default constraint: ALTER TABLE [dbo].[MyTable] ADD CONSTRAINT [DF_MyTable_id] DEFAULT (CONVERT([nvarchar](255),newid(),(0))) FOR [id]. anything i should be aware of before replacing the impl to some string that is not a converted newid()?
    Zeebs
    @z33bs
    Hi guys. I am new to using node.js as a back-end. The samples have been a great help in giving me a feel for how to use it. However I was wondering how I would implement a "Virtual Table". Essentially the "personal-table" sample, but abstracted into a virtual table. So there would be two tables: TodoItem, and PersonalTodoItem. The first, if queried, would return all records. The second, when queried by the client, must query the first table, returning only those with the matching userId. Therefore the second is just a "virtual table". Any help would be GREATLY APPRECIATED! I have been hacking around trying to get this to work but no joy yet...
    Ignacio Fuentes
    @ignacioafuentes_twitter

    hey all!.
    It's been a while since i used azure mobile services

    I just finished setting up the node getting started sample. I deploy via git and it seems to be successful deployment but all I get is 500 from Postman now :(

    where should i start to look for potential causes?
    Girish Meena
    @gmeena
    Can someone guide me good resource for Azure easy table performance with large data (in thousands) & data capacity?
    What is the future of easy tables going forward and how they behave with high volume data?
    Fabrizio Guglielmino
    @guglielmino
    Hi all
    I have a SPA application made in react/redux
    I’m trying to figure out the best deploy strategy on Azure…It’s frontend only, it consumes API ftom a 3rd party sources
    I see there are many options, it would be fine to use CDN + Blob storage
    but I need to handle 404 redirect and other rules
    is that possible? It is better to use other ways?
    Girish Meena
    @gmeena
    @guglielmino - CDN used mainly for storing your js libraries, Blob is type of storage provided by Azure - it majorly used for storing large files - images/ excel etc.
    @guglielmino you can create an App service
    Fabrizio Guglielmino
    @guglielmino
    Ok, I’ll take a look to App Service
    thanks
    ToGoNow
    @togonow
    so on version 2 of the sdk, this used to work but now doesn't work on version 4, tried different combinations, but still fails with request.azureMobile.tables(...).where(...).execute is not a function